﻿using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Diagnostics;

namespace Jet.Dal.EF.Tests.DataObjects
{
	/// <summary>
	/// Information about customer demographics from Northwind database
	/// </summary>
	[DebuggerDisplay("{CustomerTypeID}")]
	[Table("CustomerDemographics")]
	public class CustomerDemographics
	{
		[Key]
		public string CustomerTypeID { get; set; }

		[Column]
		public string CustomerDesc { get; set; }

		public override string ToString()
		{
			return string.Format("CustomerDemographics: CustomerTypeID='{0}' CustomerDesc='{1}'", CustomerTypeID, CustomerDesc);
		}
	}
}
